// 导入axios实例对象request
import request from '@/util/request.js'

// 创建并抛出givePermissionsAPI接口
export const givePermissionsAPI = (roleId, rids) => {
  return request.post(`roles/${roleId}/rights`, {
    rids
  })
}
